package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/1 0001.
 */

public class QuickRegisterRequestParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "quick_reg";

    private int register_type;
    private String device = "Android";
    private String totalMemory;
    private String availMemory;
    private String maxCpuFreq;
    private String minCpuFre;
    private String curCpuFreq;
    private String cpuName;
    private String allApp;
    private String macAddress;
    private String brand;
    private String model;
    private String imei;
    private String imsi;
    private String line1Number;
    private String simOperatorName;
    private String uuid;

    public QuickRegisterRequestParams() {
    }

    @Override
    public String getServiceString() {
        return SERVICE;
    }

    public int getRegister_type() {
        return register_type;
    }

    public void setRegister_type(int register_type) {
        this.register_type = register_type;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getTotalMemory() {
        return totalMemory;
    }

    public void setTotalMemory(String totalMemory) {
        this.totalMemory = totalMemory;
    }

    public String getAvailMemory() {
        return availMemory;
    }

    public void setAvailMemory(String availMemory) {
        this.availMemory = availMemory;
    }

    public String getMaxCpuFreq() {
        return maxCpuFreq;
    }

    public void setMaxCpuFreq(String maxCpuFreq) {
        this.maxCpuFreq = maxCpuFreq;
    }

    public String getMinCpuFre() {
        return minCpuFre;
    }

    public void setMinCpuFre(String minCpuFre) {
        this.minCpuFre = minCpuFre;
    }

    public String getCurCpuFreq() {
        return curCpuFreq;
    }

    public void setCurCpuFreq(String curCpuFreq) {
        this.curCpuFreq = curCpuFreq;
    }

    public String getCpuName() {
        return cpuName;
    }

    public void setCpuName(String cpuName) {
        this.cpuName = cpuName;
    }

    public String getAllApp() {
        return allApp;
    }

    public void setAllApp(String allApp) {
        this.allApp = allApp;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getLine1Number() {
        return line1Number;
    }

    public void setLine1Number(String line1Number) {
        this.line1Number = line1Number;
    }

    public String getSimOperatorName() {
        return simOperatorName;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public void setSimOperatorName(String simOperatorName) {
        this.simOperatorName = simOperatorName;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeInt(this.register_type);
        dest.writeString(this.device);
        dest.writeString(this.totalMemory);
        dest.writeString(this.availMemory);
        dest.writeString(this.maxCpuFreq);
        dest.writeString(this.minCpuFre);
        dest.writeString(this.curCpuFreq);
        dest.writeString(this.cpuName);
        dest.writeString(this.allApp);
        dest.writeString(this.macAddress);
        dest.writeString(this.brand);
        dest.writeString(this.model);
        dest.writeString(this.imei);
        dest.writeString(this.imsi);
        dest.writeString(this.line1Number);
        dest.writeString(this.simOperatorName);
        dest.writeString(this.uuid);
    }

    protected QuickRegisterRequestParams(Parcel in) {
        super(in);
        this.register_type = in.readInt();
        this.device = in.readString();
        this.totalMemory = in.readString();
        this.availMemory = in.readString();
        this.maxCpuFreq = in.readString();
        this.minCpuFre = in.readString();
        this.curCpuFreq = in.readString();
        this.cpuName = in.readString();
        this.allApp = in.readString();
        this.macAddress = in.readString();
        this.brand = in.readString();
        this.model = in.readString();
        this.imei = in.readString();
        this.imsi = in.readString();
        this.line1Number = in.readString();
        this.simOperatorName = in.readString();
        this.uuid = in.readString();
    }

    public static final Creator<QuickRegisterRequestParams> CREATOR = new Creator<QuickRegisterRequestParams>() {
        @Override
        public QuickRegisterRequestParams createFromParcel(Parcel source) {
            return new QuickRegisterRequestParams(source);
        }

        @Override
        public QuickRegisterRequestParams[] newArray(int size) {
            return new QuickRegisterRequestParams[size];
        }
    };
}
